#-------------------------------------------------
#
# Project created by QtCreator 2022-06-02T13:58:27
#
#-------------------------------------------------

QT       += core gui network
QT += printsupport multimedia
QMAKE_CXXFLAGS += -std=c++11

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
RC_FILE += icon_config.rc
TARGET = gateway_app
TEMPLATE = app


SOURCES += main.cpp\
        homepage.cpp \
    globalval.cpp \
    mqtthandler.cpp \
    mylogin.cpp \
    myhomepage.cpp \
    stmshow.cpp \
    modbusshow.cpp \
    movieshow.cpp \
    historyshow.cpp \
    mybtn.cpp \
    qcustomplot.cpp

HEADERS  += homepage.h \
    globalval.h \
    mqtthandler.h \
    mylogin.h \
    myhomepage.h \
    stmshow.h \
    modbusshow.h \
    movieshow.h \
    historyshow.h \
    mybtn.h \
    qcustomplot.h

FORMS    += homepage.ui \
    mylogin.ui \
    myhomepage.ui \
    stmshow.ui \
    modbusshow.ui \
    movieshow.ui \
    historyshow.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/ -lQt5Qmqttd

INCLUDEPATH += $$PWD/.
INCLUDEPATH += $$PWD/mqtt
DEPENDPATH += $$PWD/.

RESOURCES += \
    res.qrc

DISTFILES += \
    icon_config.rc
